
import request from '@/utils/request';

export function listData(query) {
  return request({
    url: `/content-manager/face-special${query}`,
    method: 'get',
  });
}
export function listNobilityData(form) {
  return request({
    url: `/nobility/list`,
    method: 'post',
    data:form
  });
}

// 添加黑名单规则
export function postAddData(form) {
  return request({
    url: `/content-manager/face-special`,
    method: 'post',
    data:form
  });
}

// 更新黑名单规则
export function putEditData(id,form) {
  return request({
    url: `/content-manager/face-special/${id}`,
    method: 'put',
    data:form
  });
}

// 删除黑名单规则
export function deleteData(form) {
  return request({
    url: `/content-manager/face-special`,
    method: 'delete',
    data:form
  });
}

